import { useState } from 'react'
import './index.less'
import Cell from '@/components/Cell'
import { useNavigate } from 'react-router-dom'
function Home(){
  const router = useNavigate()
   const [count, setCount] = useState(0)
   return(
     <div className='home'>
       <Cell title="UseState" link="/statePage"></Cell>
       <Cell title="useEffect" link="/effectPage"></Cell>
       <Cell title="useContext" link="/contextPage"></Cell>
       <Cell title="useMemo" link="/contextPage"></Cell>
       <Cell title="useRef" link="/refPage"></Cell>

        <a className='link_a' href="https://www.yuque.com/docs/share/1e58703e-26ff-41b9-b594-e68b2f90f7c2?# 《React的面试》" target="_blank">语雀笔记链接</a>
        <a className='link_a pt10' href="https://gitee.com/heguiyu/react_vite" target="_blank">gitee仓库链接</a>
     </div>
   )

}
export default Home